//
//  HearderView.h
//  YanMusicPlayer
//
//  Created by 1564335 on 15-6-11.
//  Copyright (c) 2015年 胡岩 All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HeaderViewSize <NSObject>

- (void)sendHeaderViewSize:(CGFloat)height;

- (void)sendOver;

- (void)sendBegin;

- (void)reloadSong;

@end

@interface HearderView : UIView

@property(nonatomic, assign) id<HeaderViewSize>HeaderViewDelegate;

@property(nonatomic, strong) UIVisualEffectView *backgroundView;

@property(nonatomic, strong) UIImageView *backgroundImageView;

@property(nonatomic, strong) UIImageView *titleImageView;

@property(nonatomic, strong) UIButton *nextButton;

@property(nonatomic, strong) UIButton *startButton;

@property(nonatomic, strong) UIButton *lastButton;

@property(nonatomic, strong) UIButton *listButton;

@property(nonatomic, strong) UIButton *orderButton;

@property(nonatomic, strong) UISlider *progressSlider;

@property(nonatomic, strong) UIButton *centreView;

@property(nonatomic, strong) UILabel *totalTimeLabel;

@property(nonatomic, strong) UILabel *currentTime;

@property(nonatomic, strong) UIButton *downloadBtn;
@property(nonatomic, strong) UIButton *likeBtn;



@property(nonatomic, strong) NSTimer *timer;

@property(nonatomic, strong) NSTimer *imageTurnTimer;

@property(nonatomic, strong) NSTimer *lrcTimer;

@property(nonatomic, strong) UILabel *title;

@property(nonatomic, strong) UILabel *singerName;

@property(nonatomic, strong) UITableView *lrcTableView;

@property(nonatomic, strong) NSMutableDictionary *LRCDictionary;

@property(nonatomic, strong) NSMutableArray *timeArray;

@property(nonatomic, assign) NSUInteger lrcLineNumber;

@property(nonatomic, strong) UITableView *listTableView;

@property(nonatomic, assign) BOOL isList;

@property(nonatomic, assign) BOOL isSongListView;

@property(nonatomic, strong) UIProgressView *progressBar;

@property(nonatomic, assign) NSInteger currentList;

+ (HearderView *)shareInstance;

- (void)startTurn;

- (void)initLRC;

- (void)startLoadLrc;

- (void)startMusic;

- (void)lastMusic;

- (void)nextMusic;

@end
